A modern JavaScript library for efficient make a local storage
you can visit and use the lode.js lybrary for create a project.
Include lode.js code example in your project for create your sharing video
// Example usage
toJSON() {
const serializedVideos = {};
this.localVideos.forEach((videoInfo, videoId) => {
serializedVideos[videoId] = videoInfo;
});
return JSON.stringify({ localVideos: serializedVideos });
}
}